package com.sudichina.sudichina.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Name: AddCityWeightBean
 * Action:
 * Author: liuan
 * creatTime:2017-03-20 18:15
 */

public class AddCityWeightBean implements Parcelable {
    public String cityName;
    public String jin;
    public String fang;
    public String dun;

    public AddCityWeightBean(String cityName, String jin, String fang, String dun) {
        this.cityName = cityName;
        this.jin = jin;
        this.fang = fang;
        this.dun = dun;
    }

    protected AddCityWeightBean(Parcel in) {
        cityName = in.readString();
        jin = in.readString();
        fang = in.readString();
        dun = in.readString();
    }

    public static final Creator<AddCityWeightBean> CREATOR = new Creator<AddCityWeightBean>() {
        @Override
        public AddCityWeightBean createFromParcel(Parcel in) {
            return new AddCityWeightBean(in);
        }

        @Override
        public AddCityWeightBean[] newArray(int size) {
            return new AddCityWeightBean[size];
        }
    };

    @Override
    public String toString() {
        return super.toString();
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(cityName);
        dest.writeString(jin);
        dest.writeString(fang);
        dest.writeString(dun);
    }
}
